<?php
$dsn="mysql:host=localhost;dbname=testDB";
$user="mbs";
$mdp="suerte";

try
{
    $connexion=new PDO($dsn,$user,$mdp);
    //echo 'Connexion Reussit';
    
}
catch(PDOException $e)
{
    die ($dsn."erreur : ".$e->getMessage());
    
}
               
?>